<?php
/**
 * @package WFilesystem
 */
require_once 'WKernel/Command/Abstract.php';
class WFs_Cmd_Write  extends WK_Command_Abstract {
	protected $paramschema = array(
		'file'    => array('mandatory' => true),
		'content' => array('mandatory' => false, 'default' => ''));
	public function exec() {
		WFs::write($this->params['file'], $this->params['content']);
	}
}